<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="<?=STATIC_PATH?>Image/ico.ico" rel="Shortcut Icon"/>
    <link rel="Bookmark" href="<?=STATIC_PATH?>Image/ico.ico" />
    <title>Eshifang | <?=$title?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name=keywords content="Eshifang <?=$title?>">
    <meta name=description content="Eshifang  <?=$title?>">
    <link rel="stylesheet" type="text/css" href="<?=STATIC_PATH?>Css/frame.css?v=<?=JS_VERSION?>"/>
    <script src="<?=STATIC_PATH?>Js/jquery.js" type="text/javascript"></script>
    <script src="<?=STATIC_PATH?>Js/frame.js?v=<?=JS_VERSION?>" type="text/javascript"></script>
</head>
<body>
<div id="disable" class="disable"></div>
<div id="disable_content" class="disable_content"></div>
<div class="wrapper">
    <div class="header_wrapper">
    	<div class="header com_width">
    		<div class="logo">
    			<a href="http://<?=HOST?>/"><img src="<?=STATIC_PATH?>Image/logo.png" alt="logo" /></a>
    		</div>
    		<div class="content">
    			<div class="right">
    				<ul> 
    				    <?php if(Web_Model_Member::isSignIn()){?>
    					<li><span class="title">欢迎您，<?=Web_Model_Member::getNickName()?></span></li>
    					<li><a href="http://<?=HOST?>/blog">博客</a></li>
    					<?php if(Web_Model_Auth::hasRightAdd()){?>
    					<li><a target="_blank" href="http://<?=HOST?>/blog/add">写文章</a></li>
    					<?php } ?>
    					<?php if(Web_Model_Auth::hasRightSetting()){?>
    					<li><a href="http://<?=HOST?>/setting">设置</a></li>
    					<?php } ?>
    					<li><a href="http://<?=HOST?>/help">帮助</a></li>
    					<li><a href="http://<?=HOST?>/signout">退出</a>
    					<?php }else{?>
    					<li><a href="http://<?=HOST?>/blog">博客</a></li>
    					<li><a href="http://<?=HOST?>/signin">登录</a></li>
    					<li><a href="http://<?=HOST?>/signup">注册</a></li>
    					<li><a href="http://<?=HOST?>/help">帮助</a></li>
    					<?php }?>
    				</ul>
    			</div>
    		</div>
    	</div>
    </div>
    <div class="main_wrapper">
    	<div class="main com_width">